<!DOCTYPEhtml>
<html  xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <!-- 关键代码 -->
    <script th:src="@{/webjars/jquery/3.2.1/dist/jquery.min.js}"></script>
    <script th:src="@{/webjars/bootstrap/4.3.1/js/bootstrap.min.js}"></script>
    <link rel="stylesheet" th:href="@{/webjars/bootstrap/4.3.1/css/bootstrap.min.css}" />
    <link type="text/css" rel="stylesheet" th:href="@{/static/css/style.css}">
</head>
<body>
<form action="startUpload" method="post" enctype="multipart/form-data">

    <div class="input-group">
        <div class="input-group-btn">
            <!-- Button and dropdown menu -->
        </div>
        <input type="file" name="myFile" class="form-control">
    </div>

    <div class="input-group">
        <div class="input-group-btn">
            <!-- Button and dropdown menu -->
        </div>
        <input type="submit" class="form-control" value="上传">
    </div>
</form>
</body>
</html>